package com.qdxwx.data.service.user;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.user.User;
import com.qdxwx.models.user.UserLogin;

import jakarta.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface UserLoginService {

	int insert(UserLogin loginLog);

	int create(HttpServletRequest request, User user);

	List<UserLogin> getList(long userId, PageRequest page);

	long count(long userId);

}
